import {request} from './index'
export function getHotAlbum() {
  return request({
    url:'/album/newest'
  })
}
export function getAllAlbum(area,offset) {
  return request({
    url: '/top/album',
    params: {
      area,
      offset,
      limit:35
    }
  })
}
export function getAlbumDetail(id) {
  return request({
    url: '/album',
    params: {
      id
    }
  })
}
export function getAlbumComment(id,offset) {
  return request({
    url: '/comment/album',
    params: {
      id,
      offset
    }
  })
}